package cn.shop.admin.service;


import cn.shop.admin.entity.excel.FrontUserExcel;
import cn.shop.admin.req.FrontUserQueryReq;
import cn.shop.base.MyPage;
import cn.shop.base.MyService;
import cn.shop.transcation.detail.entity.TransactionDetail;
import cn.shop.transcation.frontUserModule.FrontUser;

import java.util.List;
import java.util.Map;

/**
 * 购物平台用户表(FrontUser)表服务接口
 *
 * @author jzw
 * @since 2022-02-23 09:39:05
 */
public interface FrontUserService extends MyService<FrontUser> {

	/**
	 * 查询玩家绑定的游戏角色
	 *
	 * @param id
	 * @return
	 * @author jzw
	 * @since 2022/2/26 16:32
	 */
	List<Map<String, Object>> queryAllRole(Long id);

	MyPage<TransactionDetail> queryRecordByPage(MyPage<TransactionDetail> page, Long id);

	Map<String, Object> bindAccountList(long uid);

	List<FrontUserExcel> allUser();

	MyPage<FrontUser> queryFrontUser(MyPage<FrontUser> page, FrontUserQueryReq req);
}

